/*
    请求方法编写
*/
import axios from "./_axios"

// 1获取菜单数据接口
export default {
    getAppConfigApi(data) {
        return axios({
            // url: "/Api/GetAppConfigs",
            url: "http://180.76.174.17:7001/api/mock/selectList",
            method: 'post',
            data
        })
    },
    getNewAppConfigApi(data) {
        return axios({
            // url: "/Api/GetAllAppConfigs",
            url:"http://180.76.174.17:7001/api/mock/list",
            method: 'post',
            data
        })
    },
    login(data){
        //  username:admin; password:admin
        return axios({
            url: "http://180.76.174.17:7001/api/mock/login",
            method: 'post',
            data
        })
    }
}